const welfare = {
    path: '/welfare',
    name: 'welfare',
    meta: { id: "5", title: '福利',icon: 'md-car', },
    component: resolve => require(['@/views/Base'], resolve),
    children: [
      {
        path: '/welfare/integralMonth/list',
        name: 'welfare/integralMonth/list',
        component: resolve => require(['@/views/welfare/integralMonth/IntegralMonthList'], resolve),
        meta: {
          id: '5-1-1',
          title: '月积分返利',
          keepAlive: true,
          active: false,
          parent: '门店'
        }
      },{
        path: '/welfare/integralMonth/info',
        name: 'welfare/integralMonth/info',
        hidden: true,
        component: resolve => require(['@/views/welfare/integralMonth/IntegralMonthInfo'], resolve),
        meta: {
          id: '5-1-1',
          title: '销售明细',
          active: false,
          parent: '门店'
        }
      },{
        path: '/welfare/integralMonth/edit',
        name: 'welfare/integralMonth/edit',
        hidden: true,
        component: resolve => require(['@/views/welfare/integralMonth/IntegralMonthEdit'], resolve),
        meta: {
          id: '5-1-1',
          title: '月积分返利',
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/integralQuarter/list',
        name: 'welfare/integralQuarter/list',
        component: resolve => require(['@/views/welfare/integralQuarter/IntegralQuarterList'], resolve),
        meta: {
          id: '5-1-2',
          title: '季积分返利',
          keepAlive: true,
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/integralQuarter/edit',
        name: 'welfare/integralQuarter/edit',
        hidden: true,
        component: resolve => require(['@/views/welfare/integralQuarter/IntegralQuarterEdit'], resolve),
        meta: {
          id: '5-1-2',
          title: '季积分返利',
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/integralaudit/list',
        name: 'welfare/integralaudit/list',
        component: resolve => require(['@/views/welfare/integralaudit/IntegralAuditList'], resolve),
        meta: {
          id: '5-1-7',
          title: '审积分奖惩',
          keepAlive: true,
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/rebateaudit/list',
        name: 'welfare/rebateaudit/list',
        component: resolve => require(['@/views/welfare/rebateaudit/RebateAuditList'], resolve),
        meta: {
          id: '5-1-8',
          title: '审返利奖惩',
          keepAlive: true,
          active: false,
          parent: '门店'
        }
      }, 
      // {
      //   path: '/welfare/pointreward/list',
      //   name: 'welfare/pointreward/list',
      //   component: resolve => require(['@/views/welfare/pointReward/PointRewardList'], resolve),
      //   meta: {
      //     id: '5-3',
      //     title: '积分奖励',
      //     active: false,
      //   }
      // }, {
      //   path: '/welfare/rebatereward/list',
      //   name: 'welfare/rebatereward/list',
      //   component: resolve => require(['@/views/welfare/rebateReward/RebateRewardList'], resolve),
      //   meta: {
      //     id: '5-4',
      //     title: '返利奖励',
      //     active: false,
      //   }
      // }, 
      {
        path: '/welfare/fundcheck/list',
        name: 'welfare/fundcheck/list',
        component: resolve => require(['@/views/welfare/fundCheck/FundCheckList'], resolve),
        meta: {
          id: '5-1-5',
          title: '审门店基金',
          keepAlive: true,
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/fundcheck/info',
        name: 'welfare/fundcheck/info',
        hidden: true,
        component: resolve => require(['@/views/welfare/fundCheck/FundCheckInfo'], resolve),
        meta: {
          id: '5-1-5',
          title: '门店基金审核',
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/fundcheck/detail',
        name: 'welfare/fundcheck/detail',
        hidden: true,
        component: resolve => require(['@/views/welfare/fundCheck/FundCheckDetail'], resolve),
        meta: {
          id: '5-1-5',
          title: '门店基金明细',
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/batch/list',
        name: 'welfare/batch/list',
        component: resolve => require(['@/views/welfare/batch/BatchList'], resolve),
        meta: {
          id: '5-1-9',
          title: '批量奖惩',
          keepAlive: true,
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/batch/rebate',
        name: 'welfare/batch/rebate',
        hidden: true,
        component: resolve => require(['@/views/welfare/batch/BatchRebate'], resolve),
        meta: {
          id: '5-1-9',
          title: '批量奖惩返利',
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/batch/integral',
        name: 'welfare/batch/integral',
        hidden: true,
        component: resolve => require(['@/views/welfare/batch/BatchIntegral'], resolve),
        meta: {
          id: '5-1-9',
          title: '批量奖惩积分',
          active: false,
          parent: '门店'
        }
      }, {
        path: '/welfare/dealerpointcheck/list',
        name: 'welfare/dealerpointcheck/list',
        hidden: false, // 维持原小虎能用，先隐藏该页面
        component: resolve => require(['@/views/welfare/dealerPointCheck/DealerPointCheckList'], resolve),
        meta: {
          id: '5-6-1',
          title: '积分审核',
          keepAlive: true,
          parent: '经销商',
          active: false,
        }
      },{
        path: '/welfare/dealerpointcheck/info',
        name: 'welfare/dealerpointcheck/info',
        hidden: true,  // 维持原小虎能用，先隐藏该页面
        component: resolve => require(['@/views/welfare/dealerPointCheck/DealerPointCheckInfo'], resolve),
        meta: {
          id: '5-6-1',
          title: '积分审核详情',
          parent: '经销商',
          active: false,
        }
      }, {
        path: '/welfare/dealerpointmodify/list',
        name: 'welfare/dealerpointmodify/list',
        hidden: false,  // 维持原小虎能用，先隐藏该页面
        component: resolve => require(['@/views/welfare/dealerPointModify/DealerPointModifyList'], resolve),
        meta: {
          id: '5-6-2',
          title: '积分奖惩',
          keepAlive: true,
          parent: '经销商',
          active: false,
        }
      }, {
        path: '/welfare/dealerpointrecord/list',
        name: 'welfare/dealerpointrecord/list',
        hidden: false,  // 维持原小虎能用，先隐藏该页面
        component: resolve => require(['@/views/welfare/dealerPointRecord/DealerPointRecordList'], resolve),
        meta: {
          id: '5-6-3',
          title: '奖惩记录',
          keepAlive: true,
          parent: '经销商',
          active: false,
        }
      }
    ]
  }


  export default welfare
